package com.demo.bean.mapper.timetext;

import com.demo.common.entity.TimeText;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TimeTextMapper {
    /**
     * 根据子栏id查询内容
     * @param columnId
     * @return
     */
    @Select("select * from time_text where time_column_id = #{columnId}")
    TimeText selectByColumnId(@Param("columnId") Integer columnId);
}
